package rest;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * class for display some helper information instead 500 error<br/>
 * in example Service exception info
 * User: kaiser
 * Date: 8/3/13
 * Time: 12:25 AM
 * To change this template use File | Settings | File Templates.
 */
@XStreamAlias("response")
public class Response {

    public static final String STATUS_OK = "ok";
    public static final String STATUS_ERROR = "error";
    public static final String STATUS_NOT_FOUND = "not_found";


    private String status = STATUS_OK;

    private String message;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
